﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Client/Site1.Master" AutoEventWireup="true" CodeBehind="Ticket.aspx.cs" Inherits="OnlineRailway.UI.Client.Ticket1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ul class="hd line">
                	<li class="left space"></li>
                    <li class="center"><h3 class="tt_news">Ticket Booking</h3></li>
                    <li>
                        <br />
                        <br />
                        <Br />
                        <table class="style1" align="center" cellspacing="10">
                            <tr>
                                <td align="left">
                                    Source Station:</td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlSource" runat="server" DataSourceID="SqlDataSource1" 
                                        DataTextField="StationName" DataValueField="StationName">
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                        ConnectionString="<%$ ConnectionStrings:RailwayOnlineConnectionString2 %>" 
                                        SelectCommand="SELECT [StationName] FROM [Stations]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Destination Station:</td>
                                <td align="left">
                                    <asp:DropDownList ID="ddlDestination" runat="server" 
                                        DataSourceID="SqlDataSource1" DataTextField="StationName" 
                                        DataValueField="StationName">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Journey Date:</td>
                                <td align="left">
                                    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                                        BorderColor="White" BorderWidth="1px" DayNameFormat="FirstTwoLetters" 
                                        Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="190px" 
                                        Width="350px" SelectedDate="2012-08-31" NextPrevFormat="ShortMonth">
                                        <DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
                                        <DayStyle Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <NextPrevStyle Font-Size="8pt" ForeColor="#333333" Font-Bold="True" 
                                            VerticalAlign="Bottom" />
                                        <OtherMonthDayStyle ForeColor="#999999" />
                                        <SelectedDayStyle BackColor="#333399" ForeColor="White" />
                                        <TitleStyle BackColor="White" Font-Bold="True" Font-Size="12pt" 
                                            ForeColor="#333399" BorderColor="Black" BorderWidth="4px" />
                                        <TodayDayStyle BackColor="#CCCCCC" />
                                    </asp:Calendar>
                                </td>
                            <tr>
                                <td>
                                    <asp:Button ID="btnDetails" runat="server" Text="Get Details" 
                                        onclick="btnDetails_Click" />
                                </td>
                                <td align="left">
                                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                                </td>
                                    </tr>
                                    </tr>
                                    </table>
                                    </li>
                                    </ul>
</asp:Content>
